﻿package java;

import java.util.Scanner;

public class TestCal {
public static void main(String[] args) {
	StudentsBiz st=new StudentsBiz();
	int[] scores=new int[5];
	Scanner input=new Scanner(System.in);
	System.out.println("请输入五名参赛者成绩");
	for (int i = 0; i < 5; i++) {
		scores[i]=input.nextInt();
	}
	double avgScore=st.calAvg(scores);
	System.out.println("平均成绩:" +avgScore);
	int maxScores=st.calMax(scores);
	System.out.println("最高成绩:"+maxScores);
}
}
